<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 李洪均
  Date: 2023/4/27
  Time: 10:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>新闻资讯</title>
    <link rel="stylesheet" href="../css/common.css">
    <link rel="stylesheet" href="../css/newscenter.css">
    <script src="../js/jquery-3.6.4.min.js"></script>
    <script src="../js/common.js"></script>
</head>
<body class="justify-content-center">
<div class="all border-blue width-1962">
    <!--    头部导航栏-->
    <jsp:include page="top.jsp"/>
    <!--    轮播图盒子-->
    <jsp:include page="rotation_chart.jsp"/>
    <!--    新闻类别导航栏-->
    <div class="serve height-80 justify-content-center align-items-center">
        <c:forEach items="${newsModelTitles}" var="newsModel">
            <div>${newsModel.title}</div>
        </c:forEach>
    </div>
    <!--    新闻内容盒子-->
    <div class="news-cont justify-content-center" >
        <div class="specific-news">

            <c:forEach items="${newsModelLists}" var="newsModel">
                <div>
                    <div class="news1 padding-high-20">
                        <div class="text-font-size4 margin-top-5"><span>${newsModel.title}</span></div>
                        <div class="text-font-size3 margin-top-10"><span>${newsModel.time}</span></div>
                        <div class=" text-color-gray many-over margin-top-5"><span>${newsModel.content}</span></div>
                    </div>
                </div>
            </c:forEach>

        </div>
    </div>
    <div class="page justify-content-center margin-top-25 margin-bottom-40">
        <div class="with-20 height-20"><span>&lt;</span></div>
        <div><span>1</span></div>
        <div><span>&gt;</span></div>
    </div>
    <!--    尾部盒子-->
    <jsp:include page="foot.jsp"/>
</div>
</body>
</html>
